<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1">
    <meta name="author" content="王超凡">
    <script src="./jquery.js"></script>
    <title></title>
    <style>
        *{
            box-sizing: border-box;
        }
        body{
            margin: 0;
            background-color: #999;
        }
        .biankuang{
            width: 400px;
            height: 700px;
            margin: 100px auto;
        }
        .biankuang-top{
            width: 400px;
            height: 500px;
            background-color: white;
        }
        .biankuang-top img{
            padding: 15px;
        }
        .biankuang-top section{
            width: 300px;
            margin: 0 auto;
            text-align: left;
        }
        .biankuang-top1{
            width: 400px;
            height: 500px;
            top: 100px;
            position: absolute;
            border: 5px solid red;
            display: none;
        }

        .xiatu{
            width: 400px;
            height: 200px;
            background-color: white;
            position: absolute;
            display: flex;
            margin-top: 20px;
        }
        .xiatu1,.xiatu2{
            position: relative;
            padding: 15px;
            overflow: hidden;
        }
        .ceng{
            width: 170px;
            height: 170px;
            position: absolute;
            background-color: black;
            top: 15px;
            display: none;
        }
        .cengzi{
            width: 170px;
            height: 170px;
            position: absolute;
            left: -170px;
            top: 15px;
            
            text-align: center;
            line-height: 50px;
        }
        
    </style>
</head>
<body>
    <div class="biankuang">

        <div class="biankuang-top">
            <div class="biankuang-top2">
               <img src="./img/datu.jpg" alt="">
               <section>
                啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊
                啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊
                啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊
               </section>
               </div>
            <div class="biankuang-top1"></div>
        </div>


        <div class="xiatu">
            <div class="xiatu1">
                <img src="./img/xianglian.jpg" alt="">
                
                <div class="cengzi">
                    <span>
                    1111111111
                    1111111111
                    1111111111
                    </span>
                </div>
                <div class="ceng"></div>
            </div>
            <div class="xiatu1">
                <img src="./img/xiaotu.jpg" alt="">
                
                <div class="cengzi">
                    <span>
                    1111111111
                    1111111111
                    1111111111
                    </span>
                    
                </div>
                <div class="ceng"></div>
            </div>

        </div>
     </div>   

     
        

</body>
</html>
<script> 
    $('.biankuang-top').hover(function(){
        $(this).find('.biankuang-top1').stop().fadeIn(1000);
    },function(){
       $(this).find('.biankuang-top1').stop().fadeOut(1000);  
    })

    $('.xiatu1').hover(function(){
        $(this).find('.ceng').stop().fadeTo(1000,0.5)
        $(this).find('.cengzi').stop().animate({
            left:0
        },500);
        
    },function(){
        $(this).find('.ceng').stop().fadeTo(1000,0.1)
        $(this).find('.cengzi').stop().animate({
            left:-170
        },500);
    })




</script>